import request from '@/utils/request'
// 查询单词
export function findWord(data) {
    console.log(data)
    return request(({
        url: `/findWord`,
        method: 'get',
        params:data
    }))
}
export function getBook(bookId) {
    return request(({
        url: `/book`,
        method: 'get',
        params:{bookId}
    }))
}
export function list() {
    return request(({
        url: `/books`,
        method: 'get',
    }))
}
export function list2() {
    return request(({
        url: `/tests`,
        method: 'get',
    }))
}